package com.shopowner.dao;




import com.shopowner.entity.Field;
import com.shopowner.page.PageInfo;

import java.util.List;

public interface FieldDao {
    public List<Field>  getAllFields() throws Exception;
    Integer deleteFieldByFno(String fno) throws Exception;
    public Field  selectFieldByFno(String fno) throws Exception;
    Integer updateFieldByFno(Field field) throws Exception;
    Integer addField(Field field) throws Exception;
    public List<Field> getFieldByPage(PageInfo pageInfo) throws Exception;

}
